<!DOCTYPE html>
<html>

<head>
    <include file="Share:meta" />
    <script src="../Public/plugins/jsFormat/jsFormat.js"></script>
    <script src="../Public/plugins/citySelect/jsAddress.js"></script>
</head>

<body oncontextmenu="self.event.returnValue=false" ondragstart="return false" class="hold-transition skin-blue sidebar-mini">
    <div class="wrapper">
        <include file="Share:header" />
        <include file="Share:left" />
        <!-- Content Wrapper. Contains page content -->
        <div class="content-wrapper">
            <!-- Content Header (Page header) -->
            <section class="content-header">
                <h1>沟通记录<small></small></h1>
                <ol class="breadcrumb">
                    <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
                    <li class="active"></li>
                </ol>
            </section>
            <!-- Main content -->
            <section class="content">
                <div class="box box-info">
                    <div class="box-header with-border">
                        <h3 class="box-title"><empty name="Think.get.tid">创建沟通记录<else />修改沟通记录</empty></h3>
                    </div>
                    <!-- /.box-header -->
                    <!-- form start -->
                    <form class="form-horizontal" action="/Order/chatlist" method="post" >
                        <input type="hidden" name="tid" value="{$info.chatid}" />
                        <div class="box-body">
                            <div class="form-group">
                                <label for="inputEmail3" class="col-sm-2 control-label">订单编号</label>
                                <div class="col-sm-10">
                                    <input type="text" name="orderid" id="inputEventCode" class="form-control" value="{$info.orderid}" placeholder="" required="required" autocomplete="off" readonly="">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="inputEmail3" class="col-sm-2 control-label">门店</label>
                                <div class="col-sm-10">
                                    <input type="text" name="shopname" id="inputEventCode" class="form-control" value="{$info.shopname}" placeholder="" required="required" autocomplete="off" readonly="">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="inputEmail3" class="col-sm-2 control-label">客户名称</label>
                                <div class="col-sm-10">
                                    <input type="text" name="realname" id="inputEventCode" class="form-control" value="{$info.realname}" placeholder="" required="required" autocomplete="off" readonly="">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="inputEmail3" class="col-sm-2 control-label">性别</label>
                                <div class="col-sm-10">
                                    <select name="sex" id="sex" class="form-control" required="required">
                                        <option value="0">女</option>
                                        <option value="1">男</option>
                                        <option value="2">保密</option>
                                    </select>
                                    <script type="text/javascript">
                                        $("#sex").val("{$info.sex}");
                                    </script>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="inputEmail3" class="col-sm-2 control-label">电话</label>
                                <div class="col-sm-10">
                                    <input type="text" name="mobile" id="inputEventCode" class="form-control" value="{$info.mobile}" placeholder="" required="required" autocomplete="off" readonly="">
                                </div>
                            </div>
                         
                            <div class="form-group">
                                <label for="inputEmail3" class="col-sm-2 control-label">消费价格</label>
                                <div class="col-sm-10">
                                    <input type="text" name="price" id="inputEventCode" class="form-control" value="{$info.price}" placeholder="" required="required" autocomplete="off" readonly="">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="inputEmail3" class="col-sm-2 control-label">沟通内容</label>
                                <div class="col-sm-10">
                                   <textarea name="content" id="inputContent" class="form-control" rows="7" required="required" placeholder="请输入与客户的沟通内容">{$info.content}</textarea>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="inputEmail3" class="col-sm-2 control-label">状态</label>
                                <div class="col-sm-10">
                                    <select name="status" id="status" class="form-control" required="required">
                                        <option value="0">处理中</option>
                                        <option value="1">已完成</option>
                                        <option value="2">未解决</option>
                                    </select>
                                </div>
                                <script type="text/javascript">
                                    $("#status").val("{$info.status}");
                                </script>
                            </div>
                            
                        </div>
                        <!-- /.box-body -->
                        <div class="box-footer col-sm-offset-2">
                            <div class="col-xs-6">
                                <button type="submit" class="btn btn-primary">提 交</button>
                                <a class="btn btn-warning" href="/Order/olist" role="button">返 回</a>
                            </div>
                        </div>
                        <br>
                        <!-- /.box-footer -->
                    </form>
                </div>
              
            </section>
            <!-- /.content -->
        </div>
        <!-- /.content-wrapper -->
        <include file="Share:copyright" />
        <include file="Share:setting" />
    </div>
    <include file="Share:js" />
    <script type="text/javascript">
        $("#OrderManager").addClass("active");
        $("#order_list").addClass("active");
    
    </script>
</body>

</html>
